﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HRMSystem.Models
{
    public class Contract
    {
        public int ID { get; set; }
        public string CONTRACT { get; set; }

        public Contract(int id, string pos)
        {
            this.ID = id;
            this.CONTRACT = pos;
        }
    }

    public class ContractItems
    {
        private static List<Contract> _contractList { get; set; }

        public static List<Contract> GetList()
        {
            _contractList = new List<Contract>();
            _contractList.Add(new Contract(0, "Probation"));
            _contractList.Add(new Contract(1, "Permanent"));
            _contractList.Add(new Contract(2, "Contract Basis"));
            _contractList.Add(new Contract(3, "Other"));

            return _contractList;
        }
    }
}
